<?php

declare(strict_types=1);

namespace App\CustHub\Amqp\Producers;

use App\CustHub\Dto\CommonProducersDto;
use Hyperf\Amqp\Annotation\Producer;
use Hyperf\Amqp\Message\ProducerMessage;

/**
 * 客户任务中心生产者
 */
#[Producer(exchange: "common_task_center",routingKey: "common_task_center")]
class CommonTaskCenterProducers extends ProducerMessage
{
    public function __construct(CommonProducersDto $data)
    {
        $this->payload = $data;
    }
}